<?php
$Cedula = Yii::app()->request->getPost('Id');
$this->breadcrumbs=array(
        'Cliente'=>array('cliente/index'),
	'Contactos'=>array('index'),
	$model->cedula->Codigo,
);

$this->menu=array(
	array('label'=>'List Contactos','url'=>array('index')),
	array('label'=>'Create Contactos','url'=>array('create')),
	array('label'=>'Update Contactos','url'=>array('update','id'=>$model->Id)),
	array('label'=>'Delete Contactos','url'=>'#','linkOptions'=>array('submit'=>array('delete','id'=>$model->Id),'confirm'=>'Are you sure you want to delete this item?')),
	array('label'=>'Manage Contactos','url'=>array('admin')),
);
?>

<h1 style="color: #0088cc;"><?php echo $model->cedula->Nombre,"&nbsp;"; echo $model->cedula->Apellido_1,"&nbsp;";  echo $model->cedula->Apellido_2;?></h1>
 
<?php $this->widget('bootstrap.widgets.TbGridView',array(
	'id'=>'contactos-grid',
	'dataProvider'=>$model->searchbyId($Cedula),

	'columns'=>array(
		'Cedula',
		'Telefono_Celular',
		'Telefono_Fax',
		'Telefono_Oficina',
		'Email',
		'Direccion',
		array(
			'class'=>'bootstrap.widgets.TbButtonColumn',
		),
	),
)); ?>
